Optimal. Leaf size=59 \[ \frac{(c x)^{m+1} \left (a+b x^n\right )^{p+1} \, _2F_1\left (1,\frac{m+1}{n}+p+1;\frac{m+n+1}{n};-\frac{b x^n}{a}\right )}{a c (m+1)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0670979, antiderivative size = 67, normalized size of antiderivative = 1.14, number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133 \[ \frac{(c x)^{m+1} \left (a+b x^n\right )^p \left (\frac{b x^n}{a}+1\right )^{-p} \, _2F_1\left (\frac{m+1}{n},-p;\frac{m+n+1}{n};-\frac{b x^n}{a}\right )}{c (m+1)} \]
Antiderivative was successfully verified.
[In] Int[(c*x)^m*(a + b*x^n)^p,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 9.06727, size = 49, normalized size = 0.83 \[ \frac{\left (c x\right )^{m + 1} \left (1 + \frac{b x^{n}}{a}\right )^{- p} \left (a + b x^{n}\right )^{p}{{}_{2}F_{1}\left (\begin{matrix} - p, \frac{m + 1}{n} \\ \frac{m + n + 1}{n} \end{matrix}\middle |{- \frac{b x^{n}}{a}} \right )}}{c \left (m + 1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((c*x)**m*(a+b*x**n)**p,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0587902, size = 64, normalized size = 1.08 \[ \frac{x (c x)^m \left (a+b x^n\right )^p \left (\frac{b x^n}{a}+1\right )^{-p} \, _2F_1\left (\frac{m+1}{n},-p;\frac{m+1}{n}+1;-\frac{b x^n}{a}\right )}{m+1} \]
Antiderivative was successfully verified.
[In] Integrate[(c*x)^m*(a + b*x^n)^p,x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.102, size = 0, normalized size = 0. \[ \int \left ( cx \right ) ^{m} \left ( a+b{x}^{n} \right ) ^{p}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((c*x)^m*(a+b*x^n)^p,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (b x^{n} + a\right )}^{p} \left (c x\right )^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)^p*(c*x)^m,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (b x^{n} + a\right )}^{p} \left (c x\right )^{m}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)^p*(c*x)^m,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-2)] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x)**m*(a+b*x**n)**p,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (b x^{n} + a\right )}^{p} \left (c x\right )^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^n + a)^p*(c*x)^m,x, algorithm="giac")
[Out]